﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure
{
    public class WsdConfig
    {
        public static string GetConfigString(string key)
        {
            return ConfigurationManager.ConnectionStrings[key].ConnectionString;
        }

        public static string GetAppString(string key)
        {
            return ConfigurationManager.AppSettings[key].ToString();
        }
    }
}
